body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: #f2f2f7;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: #fff;


    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    padding: 40px 32px 32px 32px;
    max-width: 480px;
    width: 95vw;
    margin: 0;
    text-align: center;
}

.app-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    margin-bottom: 18px;
    object-fit: cover;
}

.app-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.app-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.star {
    color: #ffb400;
    font-size: 1.2rem;
    margin: 0 1px;
}

.rating-num {
    color: #888;
    font-size: 1rem;
    margin-left: 6px;
}

.app-meta {
    color: #888;
    font-size: 0.98rem;
    margin-bottom: 10px;
}

.app-desc {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 18px;
    text-align: left;
    line-height: 1.7;
}

.download-btn {
    display: inline-block;
    background: #007aff;
    color: #fff;
    padding: 13px 0;
    border-radius: 22px;
    font-size: 1.15rem;
    font-weight: 500;
    width: 80%;
    max-width: 260px;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.08);
    margin-bottom: 8px;
}

.download-btn:hover {
    background: #005bb5;
}

.tip {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 10px;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 18px 0 10px 0;
    padding: 0 2px;
}

.meta-item {
    flex: 1 1 40%;
    min-width: 120px;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.97rem;
    text-align: left;
}

.meta-label {
    color: #aaa;
    font-size: 0.92rem;
    margin-right: 4px;
}

.qr-section {
    margin: 18px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-img {
    width: 110px;
    height: 110px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: #f2f2f7;
    object-fit: cover;
}

.qr-tip {
    color: #888;
    font-size: 0.93rem;
}

.policy-link {
    color: #007aff;
    text-decoration: none;
    font-size: 0.97rem;
    margin-top: 10px;
    display: inline-block;
}

.policy-link:hover {
    text-decoration: underline;
}

.wechat-tip {
    color: #e74c3c;
    font-size: 1.1rem;
    margin-top: 24px;
}

.footer-links {
    margin-top: 22px;
    font-size: 0.97rem;
    color: #aaa;
}

.footer-link {
    color: #888;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #007aff;
    text-decoration: underline;
}

.footer-sep {
    color: #ddd;
    margin: 0 2px;
}

.modal-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1000;
}

.history-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    width: 95vw;
    max-width: 350px;
    z-index: 1001;
    padding: 28px 18px 18px 18px;
    text-align: center;
}

.history-modal-title {
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #222;
}

.history-list {
    margin-bottom: 18px;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px 0;
    border-bottom: 1px solid #f2f2f7;
    font-size: 0.98rem;
}

.history-item:last-child {
    border-bottom: none;
}

.history-info {
    text-align: left;
}

.history-appname {
    font-weight: 600;
    color: #222;
    font-size: 1.01rem;
}

.history-meta {
    color: #888;
    font-size: 0.93rem;
    margin-top: 2px;
}

.history-download {
    color: #007aff;
    text-decoration: none;
    font-size: 0.97rem;
}

.history-download:hover {
    text-decoration: underline;
}

.history-close {
    margin-top: 6px;
    padding: 7px 28px;
    border: none;
    border-radius: 16px;
    background: #f2f2f7;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.history-close:hover {
    background: #e5e5ea;
}

@media (max-width: 600px) {
    .container {
        padding: 28px 4vw 20px 4vw;
        max-width: 99vw;
    }

    .app-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .app-name {
        font-size: 1.3rem;
    }

    .meta-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-item {
        text-align: left;
        min-width: 0;
    }
}

.screenshot-carousel {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 18px auto;
    overflow: hidden;
    border-radius: 16px;
    background: #f2f2f7;
    height: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
    height: 100%;
}

.carousel-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 16px;
    user-select: none;
    pointer-events: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    color: #007aff;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s;
}

.carousel-btn.left {
    left: 8px;
}

.carousel-btn.right {
    right: 8px;
}

.carousel-btn:active {
    background: #e5e5ea;
}

@media (max-width: 600px) {

    .screenshot-carousel,
    .carousel-img {
        height: 160px;
    }
}